package com.sleep.mongodemo.entry;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @ClassName TestDemo
 * @Description TODO
 * @Author 郭敖
 * @Date 2024年04月01日 16:11
 * @Version 1.0
 */
@Document("users")
@Data
@Accessors(chain = true)
public class TestDemo {
    @Id
    private String id;
    private String name;
    private Integer age;
    private String address;
}
